#include "utilities.h"


int stringToInt(std::string s)
{
    int nombre;
    std::stringstream iss(s);
    iss >> nombre;
    return nombre;
}

int ustringToInt(Glib::ustring ustring)
{
    std::stringstream s;
    int result;

    s << ustring.raw();
    s >> result;
    return result;
}


